package com.example.examsystem2.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

public class Exam {

  private int e_id;
  private String e_name;
  private int s_id;
  private String e_level;
  private int ep_id;
  private String e_begin_time;
  private String e_end_time;
  private int e_duration;
  private int e_scq_score;
  private int e_jq_score;
  private int e_saq_score;
  private int e_fbq_score;
  private int e_total_score;
  private int e_pass_score;
  private String e_creat_time;
  private ExamPaper examPaper;
  private Subject subject;

  public Exam() {
  }

  public int getE_id() {
    return e_id;
  }

  public void setE_id(int e_id) {
    this.e_id = e_id;
  }

  public String getE_name() {
    return e_name;
  }

  public void setE_name(String e_name) {
    this.e_name = e_name;
  }

  public int getS_id() {
    return s_id;
  }

  public void setS_id(int s_id) {
    this.s_id = s_id;
  }

  public String getE_level() {
    return e_level;
  }

  public void setE_level(String e_level) {
    this.e_level = e_level;
  }

  public int getEp_id() {
    return ep_id;
  }

  public void setEp_id(int ep_id) {
    this.ep_id = ep_id;
  }

  public String getE_begin_time() {
    return e_begin_time;
  }

  public void setE_begin_time(String e_begin_time) {
    this.e_begin_time = e_begin_time;
  }

  public String getE_end_time() {
    return e_end_time;
  }

  public void setE_end_time(String e_end_time) {
    this.e_end_time = e_end_time;
  }

  public int getE_duration() {
    return e_duration;
  }

  public void setE_duration(int e_duration) {
    this.e_duration = e_duration;
  }

  public int getE_scq_score() {
    return e_scq_score;
  }

  public void setE_scq_score(int e_scq_score) {
    this.e_scq_score = e_scq_score;
  }

  public int getE_jq_score() {
    return e_jq_score;
  }

  public void setE_jq_score(int e_jq_score) {
    this.e_jq_score = e_jq_score;
  }

  public int getE_saq_score() {
    return e_saq_score;
  }

  public void setE_saq_score(int e_saq_score) {
    this.e_saq_score = e_saq_score;
  }

  public int getE_total_score() {
    return e_total_score;
  }

  public void setE_total_score(int e_total_score) {
    this.e_total_score = e_total_score;
  }

  public int getE_pass_score() {
    return e_pass_score;
  }

  public void setE_pass_score(int e_pass_score) {
    this.e_pass_score = e_pass_score;
  }

  public String getE_creat_time() {
    return e_creat_time;
  }

  public void setE_creat_time(String e_creat_time) {
    this.e_creat_time = e_creat_time;
  }

  public ExamPaper getExamPaper() {
    return examPaper;
  }

  public void setExamPaper(ExamPaper examPaper) {
    this.examPaper = examPaper;
  }

  public Subject getSubject() {
    return subject;
  }

  public void setSubject(Subject subject) {
    this.subject = subject;
  }

  public int getE_fbq_score() {
    return e_fbq_score;
  }

  public void setE_fbq_score(int e_fbq_score) {
    this.e_fbq_score = e_fbq_score;
  }

  @Override
  public String toString() {
    return "Exam{" +
            "e_id=" + e_id +
            ", e_name='" + e_name + '\'' +
            ", s_id=" + s_id +
            ", e_level='" + e_level + '\'' +
            ", ep_id=" + ep_id +
            ", e_begin_time='" + e_begin_time + '\'' +
            ", e_end_time='" + e_end_time + '\'' +
            ", e_duration=" + e_duration +
            ", e_scq_score=" + e_scq_score +
            ", e_jq_score=" + e_jq_score +
            ", e_saq_score=" + e_saq_score +
            ", e_fbq_score=" + e_fbq_score +
            ", e_total_score=" + e_total_score +
            ", e_pass_score=" + e_pass_score +
            ", e_creat_time='" + e_creat_time + '\'' +
            ", examPaper=" + examPaper +
            ", subject=" + subject +
            '}';
  }
}
